
{empty name="data"}
<tr> <td colspan="9" class="center">未查询到相关数据  </td> </tr>
{else /} 
{foreach name="data" item="v"}
<tr>
    <td class="center">{$v.id}</td>
    <td class="center">{$v.name}</td>
    <td class="center">{$org_type_arr[$v['org_type']]}</td>
    <td class="center">{$v.juristic_person}</td>
    <td class="center">{$v['isvalid']?'<span class="label label-yellow">有效</span>':'<span class="label label-danger">禁用</span>'}</td>
    <td class="center">{$v.registered_capital}</td>
    <td class="center">{$v.unified_coding}</td>
    <td class="center">{$v['create_time']|date="Y-m-d",###}</td>     
    <td class="center">
        <div class="hidden-sm hidden-xs action-buttons">                     
            <a href="{:url('admin/organize/organizeEdit',array('id'=>$v['id']))}" class="tooltip-success"  title="修改" data-original-title="修改">
                <span class="green">
                    <i class="ace-icon fa fa-pencil-square-o "></i> 编辑
                </span>
            </a>&nbsp;
            {if condition="$org_type eq 1"}
            <a href="{:url('admin/organize/Dept',array('org_id'=>$v['id']))}" class="tooltip-success"  title="查看部门" data-original-title="查看部门">
                <span class="blue">
                    <i class="ace-icon fa fa-eye "></i> 查看部门
                </span>
            </a>
            {/if}
            <!--{if condition="$org_type eq 2"}
            <a href="" data-toggle="modal" data-target="#myModal" class="tooltip-success account" data-id="{$v['id']}"  title="设置账号" data-original-title="设置账号">
                <span class="blue">
                    <i class="ace-icon fa fa-user "> 设置账号</i>
                </span>
            </a>
            {/if}-->
        </div>
    </td>
</tr>
{/foreach}
{notempty name="$page"}
<tr>
    <td height="50" colspan="9" align="left">{$page}</td>
</tr>
{/notempty}
{/empty}